export function _getPromise() {
    var obj = {
        resolve: function (val) { return val; },
        reject: function (val) { return val; },
        promise: Promise.resolve()
    };
    obj.promise = new Promise(function (resolve, reject) {
        obj.resolve = resolve;
        obj.reject = reject;
    });
    return obj;
}
